home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / chrono / chronog.txt < prev    next >
Encoding:
Text File  |  1995-12-22  |  1.6 KB  |  54 lines

  1. Unit Chronog
  2.  
  3. Component TChrono
  4.  
  5. This component give you time, in ms, between
  6. Start-Stop procedure.
  7.  
  8. You can made several measures and obtain:
  9.     - the lest measure
  10.     - total time for all the measures
  11.     - number of measures
  12.     - average time
  13.  
  14. All times are in ms and defined as Longint.
  15. Number of measure is an Integer.
  16.  
  17.     property last: Longint read getlast;
  18.     property aver: Longint read getaver;
  19.     property total: Longint read gettotal;
  20.     property nb: Integer read Fnumbermes;
  21.  
  22. The different procedures are:
  23.  
  24.     procedure start;         start a new measure
  25.     procedure stop;        end the current measure
  26.     procedure pause;        begin a pause (keep elapsed time)
  27.     procedure continue;        end a pause and continue count
  28.     procedure cancel;        stop and ignore current measure
  29.     procedure raz;        set all values to 0
  30.  
  31. This component is given to the public domain. If you find it useful 
  32. please send me a message. 
  33.  
  34. If you modify it thanks to send me these evolutions.
  35.  
  36. Pierre FONTAINE
  37. My E-mail(on Compuserve): 100576,3706@compuserve.com
  38.  
  39.  
  40. To use this component, instal chronog.pas as new vcl in Delphi.
  41.  
  42.  
  43. A demo program is also in this zip file, chonoa.pas
  44.  
  45. This program use another component which is put to the public domain by:
  46.   Author: Cameron D. Peters                                                  }
  47.           Suite 311, 908 - 17th Avenue S.W.                                  }
  48.           Calgary, Alberta CANADA                                            }
  49.           CIS: 72561,3146               
  50.  
  51. Thanks to him for TPanelClock component.
  52.  
  53. To use the demo program instal also panclock.pas as new vcl.
  54.